from tests import QE_RegisterTest
from tests import QE_LoginTest
from tests import QE_HomeTest
from tests import QE_ProjectTest
from tests import QE_QuestionTest
from tests import QE_TemplateTest
from tests import QE_PersonalTest
from common.Utils import QE_Driver

if __name__ == '__main__':
    QE_RegisterTest.QE_RegisterTest().RegisterFailTest()
    QE_RegisterTest.QE_RegisterTest().RegisterSuccessTest()
    QE_LoginTest.QE_LoginTest().LoginFailTest()
    QE_LoginTest.QE_LoginTest().LoginSuccessTest()
    QE_HomeTest.QE_HomeTest().HomeCheckElement()
    QE_ProjectTest.QE_ProjectTest().ProjectCheckElement()
    QE_ProjectTest.QE_ProjectTest().ProjectFunctionTest()
    QE_QuestionTest.QE_QuestionTest().QuestionCheckElement()
    QE_QuestionTest.QE_QuestionTest().QuestionFunctionTest()
    QE_TemplateTest.QE_TemplateTest().TemplateCheckElement()
    QE_TemplateTest.QE_TemplateTest().TemplateFunctionTest()
    QE_PersonalTest.QE_PersonalTest().PersonalCheckElement()
    QE_PersonalTest.QE_PersonalTest().PersonalFailTest()
    QE_PersonalTest.QE_PersonalTest().PersonalSuccessTest()


    #指定浏览器的退出
    QE_Driver.driver.quit()
